package com.ys.entity.finance;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_PartnerWbAccount", catalog="Id")
public class TcwPartnerWbAccount extends BaseEntity<TcwPartnerWbAccount> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="BusinessCode", nameJava="businessCode", typeDataBase="varchar")
	private String businessCode;
	@YsField(nameDataBase="PartnerInfo", nameJava="partnerInfo", typeDataBase="varchar")
	private String partnerInfo;
	@YsField(nameDataBase="CountryCode", nameJava="countryCode", typeDataBase="varchar")
	private String countryCode;
	@YsField(nameDataBase="ExchangeRateId", nameJava="exchangeRateId", typeDataBase="bigint")
	private Long exchangeRateId;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="Vaba", nameJava="vaba", typeDataBase="varchar")
	private String vaba;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="SwiftCode", nameJava="swiftCode", typeDataBase="varchar")
	private String swiftCode;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="varchar")
	private String createChangeId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwPartnerWbAccount setId(Long id) {
		this.id = id;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TcwPartnerWbAccount setCode(String code) {
		this.code = code;
		return this;
	}
	public String getName() {
		return name;
	}
	public TcwPartnerWbAccount setName(String name) {
		this.name = name;
		return this;
	}
	public String getBusinessCode() {
		return businessCode;
	}
	public TcwPartnerWbAccount setBusinessCode(String businessCode) {
		this.businessCode = businessCode;
		return this;
	}
	public String getPartnerInfo() {
		return partnerInfo;
	}
	public TcwPartnerWbAccount setPartnerInfo(String partnerInfo) {
		this.partnerInfo = partnerInfo;
		return this;
	}
	public String getCountryCode() {
		return countryCode;
	}
	public TcwPartnerWbAccount setCountryCode(String countryCode) {
		this.countryCode = countryCode;
		return this;
	}
	public Long getExchangeRateId() {
		return exchangeRateId;
	}
	public TcwPartnerWbAccount setExchangeRateId(Long exchangeRateId) {
		this.exchangeRateId = exchangeRateId;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TcwPartnerWbAccount setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public TcwPartnerWbAccount setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getVaba() {
		return vaba;
	}
	public TcwPartnerWbAccount setVaba(String vaba) {
		this.vaba = vaba;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TcwPartnerWbAccount setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getSwiftCode() {
		return swiftCode;
	}
	public TcwPartnerWbAccount setSwiftCode(String swiftCode) {
		this.swiftCode = swiftCode;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public TcwPartnerWbAccount setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public String getCreateChangeId() {
		return createChangeId;
	}
	public TcwPartnerWbAccount setCreateChangeId(String createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwPartnerWbAccount setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwPartnerWbAccount setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwPartnerWbAccount setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwPartnerWbAccount tcwPartnerWbAccount(
		String code,
		String name,
		String businessCode,
		String partnerInfo,
		String countryCode,
		Long exchangeRateId,
		String vyhzhmc,
		String vkhh,
		String vaba,
		String vyhzh,
		String swiftCode,
		String vbz,
		String createChangeId,
		Integer status
			) {
		TcwPartnerWbAccount entity = new TcwPartnerWbAccount();
		entity.setCode(code);
		entity.setName(name);
		entity.setBusinessCode(businessCode);
		entity.setPartnerInfo(partnerInfo);
		entity.setCountryCode(countryCode);
		entity.setExchangeRateId(exchangeRateId);
		entity.setVyhzhmc(vyhzhmc);
		entity.setVkhh(vkhh);
		entity.setVaba(vaba);
		entity.setVyhzh(vyhzh);
		entity.setSwiftCode(swiftCode);
		entity.setVbz(vbz);
		entity.setCreateChangeId(createChangeId);
		entity.setStatus(status);
		return entity;
	}
}